package com.missilike.core.service;

import com.missilike.core.domain.im.IMCallbackRequestBody;
import com.missilike.core.domain.im.IMResponseBody;
import com.missilike.core.enums.IMAccountType;

public interface IIMService {
    String getUserSign(String userAccount);
    String getUserSign(Long userAccount);

    IMResponseBody handleChatCallback(String sdkAppid, String clientIP, String optPlatform, IMCallbackRequestBody requestBody);

    boolean exportAccountToIM(Long accountId, String nickName, String faceUrl, IMAccountType type);

    boolean exportNormalAccountToIM(Long accountId, String nickName, String faceUrl);

    boolean addFriend(Long fromAccount,Long toAccount);


}
